home *** CD-ROM | disk | FTP | other *** search
/ Visual Basic Toolbox / Visual Basic Toolbox (P.I.E.)(1996).ISO / mail / mailx6 / _setup.1 / MSGFORM.FRM (.txt) < prev    next >
Encoding:
Visual Basic Form  |  1996-03-22  |  6.5 KB  |  225 lines

  1. VERSION 2.00
  2. Begin Form MsgForm 
  3.    BackColor       =   &H00C0C0C0&
  4.    BorderStyle     =   3  'Fixed Double
  5.    Caption         =   "Message Form"
  6.    ClientHeight    =   3975
  7.    ClientLeft      =   1530
  8.    ClientTop       =   4200
  9.    ClientWidth     =   6285
  10.    Height          =   4350
  11.    Left            =   1485
  12.    LinkTopic       =   "Form1"
  13.    MDIChild        =   -1  'True
  14.    ScaleHeight     =   3975
  15.    ScaleWidth      =   6285
  16.    Top             =   3870
  17.    Width           =   6375
  18.    Begin MFile MFile1 
  19.       BindString      =   "MMsg1"
  20.       DisplayDialog   =   0   'False
  21.       DisplayErrors   =   0   'False
  22.       Height          =   420
  23.       Left            =   720
  24.       Top             =   1680
  25.       Width           =   420
  26.    End
  27.    Begin MReci MReci1 
  28.       AddRecipientClass=   1  '1- TO:
  29.       AddressCaption  =   ""
  30.       AddressEditNum  =   3
  31.       BindString      =   "MMsg1"
  32.       DetailModifiable=   -1  'True
  33.       DisplayErrors   =   0   'False
  34.       FetchType       =   0  '0- Originator
  35.       Height          =   420
  36.       Left            =   120
  37.       ResolveDialog   =   -1  'True
  38.       Top             =   1680
  39.       Width           =   420
  40.    End
  41.    Begin MMsg MMsg1 
  42.       BindString      =   "FormTag2.MSess1"
  43.       BodyAsFile      =   0   'False
  44.       DisplayErrors   =   0   'False
  45.       DisplaySendDialog=   -1  'True
  46.       EnvelopeOnly    =   0   'False
  47.       FetchMsgType    =   ""
  48.       Height          =   420
  49.       Left            =   600
  50.       MarkAsRead      =   -1  'True
  51.       SortMsg         =   0   'False
  52.       SuppressAttach  =   -1  'True
  53.       TimeFormat      =   "%I:%M:%S %p. %B %d, %Y "
  54.       Top             =   3480
  55.       UnreadOnly      =   0   'False
  56.       Width           =   420
  57.       WorkingMsg      =   0  '0- Inbox Message
  58.    End
  59.    Begin MForm MForm1 
  60.       Height          =   255
  61.       Left            =   3480
  62.       MXFormName      =   "FormTag4"
  63.       Top             =   3600
  64.       Width           =   1815
  65.    End
  66.    Begin ComboBox szFileList 
  67.       Height          =   300
  68.       Left            =   1320
  69.       TabIndex        =   15
  70.       Top             =   2655
  71.       Width           =   1935
  72.    End
  73.    Begin TextBox szOriginator 
  74.       Height          =   375
  75.       Left            =   4440
  76.       TabIndex        =   14
  77.       Top             =   2640
  78.       Width           =   1575
  79.    End
  80.    Begin SSPanel Panel3D1 
  81.       BackColor       =   &H00C0C0C0&
  82.       BevelInner      =   1  'Inset
  83.       Font3D          =   0  'None
  84.       Height          =   615
  85.       Left            =   -15
  86.       TabIndex        =   8
  87.       Top             =   0
  88.       Width           =   6300
  89.       Begin CommandButton BtnSend 
  90.          Caption         =   "Send"
  91.          Height          =   420
  92.          Left            =   4290
  93.          TabIndex        =   16
  94.          Top             =   75
  95.          Width           =   1125
  96.       End
  97.       Begin CommandButton BtnForward 
  98.          Caption         =   "Forward"
  99.          Height          =   420
  100.          Left            =   2865
  101.          TabIndex        =   11
  102.          Top             =   75
  103.          Width           =   1155
  104.       End
  105.       Begin CommandButton btnReply 
  106.          Caption         =   "Reply"
  107.          Height          =   420
  108.          Left            =   1440
  109.          TabIndex        =   10
  110.          Top             =   75
  111.          Width           =   1170
  112.       End
  113.       Begin CommandButton BtnHide 
  114.          Caption         =   "Hide Msg"
  115.          Height          =   420
  116.          Left            =   105
  117.          TabIndex        =   9
  118.          Top             =   75
  119.          Width           =   1125
  120.       End
  121.    End
  122.    Begin TextBox szMsgID 
  123.       Height          =   495
  124.       Left            =   1320
  125.       TabIndex        =   7
  126.       Top             =   3120
  127.       Width           =   4695
  128.    End
  129.    Begin TextBox szTime 
  130.       Height          =   375
  131.       Left            =   1200
  132.       TabIndex        =   6
  133.       Top             =   2160
  134.       Width           =   4815
  135.    End
  136.    Begin TextBox szNoteText 
  137.       Height          =   855
  138.       Left            =   1200
  139.       MultiLine       =   -1  'True
  140.       TabIndex        =   3
  141.       Top             =   1200
  142.       Width           =   4815
  143.    End
  144.    Begin TextBox szSubject 
  145.       Height          =   375
  146.       Left            =   1200
  147.       TabIndex        =   1
  148.       Top             =   720
  149.       Width           =   4815
  150.    End
  151.    Begin Label Label6 
  152.       BackColor       =   &H00C0C0C0&
  153.       Caption         =   "Attachments:"
  154.       Height          =   375
  155.       Left            =   120
  156.       TabIndex        =   13
  157.       Top             =   2640
  158.       Width           =   1215
  159.    End
  160.    Begin Label Label5 
  161.       BackColor       =   &H00C0C0C0&
  162.       Caption         =   "Originator:"
  163.       Height          =   375
  164.       Left            =   3450
  165.       TabIndex        =   12
  166.       Top             =   2685
  167.       Width           =   960
  168.    End
  169.    Begin Label Label4 
  170.       BackColor       =   &H00C0C0C0&
  171.       Caption         =   "Message ID:"
  172.       Height          =   375
  173.       Left            =   120
  174.       TabIndex        =   5
  175.       Top             =   3240
  176.       Width           =   1215
  177.    End
  178.    Begin Label Label3 
  179.       BackColor       =   &H00C0C0C0&
  180.       Caption         =   "Time:"
  181.       Height          =   270
  182.       Left            =   150
  183.       TabIndex        =   4
  184.       Top             =   2235
  185.       Width           =   855
  186.    End
  187.    Begin Label Label2 
  188.       BackColor       =   &H00C0C0C0&
  189.       Caption         =   "Note Text:"
  190.       Height          =   375
  191.       Left            =   120
  192.       TabIndex        =   2
  193.       Top             =   1200
  194.       Width           =   975
  195.    End
  196.    Begin Label Label1 
  197.       BackColor       =   &H00C0C0C0&
  198.       Caption         =   "Subject:"
  199.       Height          =   375
  200.       Left            =   120
  201.       TabIndex        =   0
  202.       Top             =   720
  203.       Width           =   855
  204.    End
  205. Sub BtnForward_Click ()
  206.     MMsg1.NoteText = szNoteText
  207.     MMsg1.Action = ACTION_FORWARD
  208.     MMsg1.Action = ACTION_SENDMSG
  209. End Sub
  210. Sub BtnHide_Click ()
  211.     Unload Me
  212. End Sub
  213. Sub btnReply_Click ()
  214.     MMsg1.Action = ACTION_REPLY
  215.     MMsg1.Action = ACTION_SENDMSG
  216. End Sub
  217. Sub BtnSend_Click ()
  218.     MMsg1.Subject = szSubject
  219.     MMsg1.NoteText = szNoteText
  220.     MMsg1.Action = ACTION_SENDMSG
  221.     If MMsg1.ErrorNum <> 0 Then
  222.         MsgBox "Error Sending Message"
  223.     End If
  224. End Sub
  225.